package com.kotlin.myapplication.mvp.model

import com.kotlin.myapplication.base.BasePresenter
import com.kotlin.myapplication.base.BaseView
import com.kotlin.myapplication.bean.*

/**
 *@lil
 *@创建时间 2019/11/7 16:56
 *@描述
 */
class UserContract {

    interface view : BaseView<userModelResult> {

        fun showUserModel(user: com.kotlin.myapplication.bean.UserBean<UserData>)

        fun error(error: String)
    }

    /**
     * 登录
     */
    interface userModelResult : BasePresenter {
        fun login(userid: String, password: String)
    }

}